<template>
        <div>
            <div class="editMe" @click="editMe()">{{name}}</div>
            <div class="editMetextarea" v-show="isShow">
                <textarea name="" id="" cols="30" rows="10" v-model="name"></textarea>
            </div>
        </div>
</template>
<script>
export default {
    name:"App",
    data(){
        return{
            isShow:false,
            name:"editMe!"
        }
    },
    methods:{
        editMe(){
            let _self = this;
            _self.isShow = !_self.isShow
        }
    }
}
</script>
<style>
    .editMe{
        text-align: center;
        font-size: 80px;
        color: green;
    }
    .editMetextarea{
        text-align: center;
        margin: 0 auto;
    }
</style>